public class Tryfuncs
{
	public static void main(String args[])
	{
		String s1 = "qdu dmf java";
		String s2 = "Qdu Dmf Java";
		System.out.println(s1.charAt(2));//u
		System.out.println(s1.length());
		System.out.println(s1.indexOf("dmf"));//s2.indexOf("dmf");

		System.out.println(s1.equals(s2));

		String s3 = s1.replace('d','q');
	}
}